{% extends 'layout.html' %}

{% block main %}
<div class="container">
	<div class="row mt-4">
		<div class="col">
			<h5 class="">
				<a href="#">{{ course.name }}</a>
			</h5>
		</div>
	</div>
	<ul class="nav">
		<li class="nav-item">
			<a class="nav-link active" aria-current="page" href="/course/{{ course.id }}/">简介</a>
		</li>
		<li class="nav-item">
			<a class="nav-link" href="/course/{{ course.id }}/chapters/">讲义</a>
		</li>
		<li class="nav-item">
			<a class="nav-link" href="/course/{{ course.id }}/exercises/">练习</a>
		</li>
	</ul>
	<hr />

	{% block course_app %}
	{% endblock %}

</div>
{% endblock %}